home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2003 May
/
PCWorld_2003-05_cd.bin
/
Software
/
Topware
/
sandra
/
san944EN.exe
/
{app}
/
examples
/
Script.ini
< prev
next >
Wrap
INI File
|
2003-02-01
|
7KB
|
232 lines
;;
;; File: Script.ini - Sample batch-mode report settings example file for SiSoftware Sandra
;;
;; Syntax: sandra /r <full path report script>
;;
;; For this example: sandra /r script.ini
;; Note: Use quotes if the file has spaces in it, e.g. "c:\Program Files\Script.ini"
;;
;; Warning: Include the FULL PATH to the script file, e.g. "c:\temp\script.ini" not just
;; "script.ini" even if the script file is in Sandra's own directory!
;;
;; You can create a script like this one by running the Create a Report Wizard and
;; specifying "Save these settings in a script file" at step "Report Delivery"
;; It's easier to specify options this way.
[General]
;; General settings
;; Version - 1234 for version 12.34 etc. Required!
Program Version=900
;; Type of report:
;; "save" - to save to disk in any format
;; "emailMAPI" - to e-mail it using MAPI
;; "emailSMTP" - to e-mail it using SMTP
;; "postNews" - to post it to a newsgroup using NNTP
;; "print" - to print/fax the report
;; "odbc" - to insert into any ODBC data source
;; "ado" - to insert into any ADO supported database/SQL Server
;; "upload" - to upload it to a FTP/HTTP server
;; "postMSMQ" - to post to a queue (MSMQ)
Report Type=save
;; if save:
;; Full name & path of report file (comment it out if email)
;; you can also use fields that will be replaced with their values at runtime
;; fields:
;; $HOST$ - computer/host name
;; $DOMAIN$ - domain/workgroup name
;; $USER$ - user name
;; $DATE$ - date report created
;; $TIME$ - time report created
Report File=Report of $HOST$ on $DATE$.txt
;; File Type:
;; "normal" (TXT)
;; "hierarchical" (RPT)
;; "web" (HTML)
;; "XML" (XML)
;; "SMS" (DMI/MIF)
Report File Type=normal
;; File Encoding:
;; specify either ANSI (0) or Unicode (1)
;; (program will convert as required)
File Encoding Unicode=1
;; Encrypt (CRY) report? "0"-No (default) or "1"-Yes
;; Do NOT specify with Append!
Encrypt=0
;; Encryption key string - to encrypt the report with
Encrypt Key=the key string
;; Compress (CAB) report? "0"-No or "1"-Yes (default)
;; Do NOT specify with Append!
Compress=1
;; Append to report file? "0"-No (default) or "1"-Yes
Append=0
;; If multiple copies of Sandra use the same file for the report, turn this on
;; to synchronise access to the file (each copy will wait for it to become
;; available rather than exiting) "0"-Don't (default) or "1"-Do
Wait If File Taken=1
; Set the number of characters per line, between 10 to 200 (default 90)
External Line Size=90
;; if email: Address of user(s) to send to, subject, e.g.:
;Email Send To=Sandra@sisoftware.co.uk
;Email Send Cc=Info@sisoftware.co.uk
;Email Send Bcc=Blind@sisoftware.co.uk
;Email Subject=SiSoftware Sandra System Report
;; address/account of sender
;Email Sender=Report@sisoftware.co.uk
;; SMTP server information
;Email SMTP Host=post.server.com
;Email SMTP Port=25
;; SMTP server authentication
;Email SMTP SSL Auth=0
;EMail Login User=user
;EMail Login Password=post
;; if you want to encrypt the login, use the following 2 fields instead
;EMail Login User Encrypted=00000000
;EMail Login Password Encrypted=00000000
;; if post: News server details
;News NewsGroup=public.test
;News Host=news.server.com
;News Port=119
;; address/account of sender
;News Sender=Report@sisoftware.co.uk
;; News server authentication
;News SSL Auth=0
;News Login User=user
;News Login Password=post
;; if you want to encrypt the login, use the following 2 fields instead
;News Login User Encrypted=00000000
;News Login Password Encrypted=00000000
;; if print: the printer/device name (verbatim!!!)
;Printer Name=Canon BJ-20
;; if insert into ODBC database: enter the data source details, e.g.:
;ODBC DSN=SandraReport
;ODBC UserName=Test
;ODBC Password=sql
;; if you want to encrypt the login, use the following 2 fields instead
;ODBC UserName Encrypted=00000000
;ODBC Password Encrypted=00000000
;; 1 if identity/autoincrement is supported (e.g. SQL Server/Access); 0 if not
;ODBC Identity Support=1
;; 1 if sequences are supported (e.g. Oracle); 0 if not
;ODBC Sequence Support=0
;; 1 if client cursors; 0 if server cursors
;ODBC Client Cursors=0
;; if insert into ADO database: enter database details, e.g.:
;; SQLOLEDB (SQL Server); MSDAORA (Oracle); MSDASQL (ODBC); Microsoft.Jet.OLEDB.X.XX (Access)
;ADO Provider=SQLOLEDB
;; Database host server
;ADO Server=LocalHost
;; SQL Server database; Oracle (schema); ODBC DSN
;ADO Database=SandraDB
;; Only useful if using the ADO-to-ODBC bridge. Enter the verbatim name of the ODBC driver
;ADO Driver=Microsoft Access Driver (*.mdb)
;; 1 if identity/autoincrement is supported (e.g. SQL Server/Access); 0 if not
;ADO Identity Support=1
;; 1 if sequences are supported (e.g. Oracle); 0 if not
;ADO Sequence Support=0
;; 1 if client cursors (e.g. Oracle); 0 if server cursors (e.g. SQL Server)
;ADO Client Cursors=0
;; 0 for database security (specify username/password); 1 for NT authentication
;ADO NT Security=0
;; only if database security specified
;ADO UserName=Test
;ADO Password=sql
;; if you want to encrypt the login, use the following 2 fields instead
;ADO UserName Encrypted=00000000
;ADO Password Encrypted=00000000
;; if ftp upload: enter the server connection (inc path), e.g.:
;Upload URL=http://www.sisoftware.co.uk/uploadedreports/
;Upload URL=ftp://ftp.sisoftware.co.uk/uploadedreports/
;; 1 if anonymous; 0 specify user/password
;Upload Anonymous=1
;Upload User=guest
;Upload Password=guest_pass
;; if you want to encrypt the login, use the following 2 fields instead
;Upload User Encrypted=00000000
;Upload Password Encrypted=00000000
;; if post to queue/MSMQ: enter queue path, e.g.:
;MSMQ Queue=\\computer\public\SandraReport
;; 1 if transactional; 0 if not
;MSMQ Transactional=0
;; 1 if accessible to all; 0 only to creator
;;MSMQ Public Access=1
;; 0 if plain; 1 encrypt message body (not needed if file already encrypted)
;MSMQ Encrypted=0
;; 1 to use current user login credentials; 0 specify user/password
;MSMQ Default Credentials=1
;MSMQ User=guest
;MSMQ Password=guest_pass
;; if you want to encrypt the login, use the following 2 fields instead
;MSMQ User Encrypted=00000000
;MSMQ Password Encrypted=00000000
;; Enter your comments here - one line only!
Comments=This is a test batch-mode report.
;; Display progress dialog? "0"-No or "1"-Yes (default)
Progress Dialog=1
;; Exit after report is done? "0"-No or "1"-Yes (default)
Exit After Done=1
[Modules]
;; Module List "0"-To exclude(default) or "1"-To include module
;; Use Module-Properties or Help to find out the command-line switch for a
;; particular module
SummaryInfo=1
CPUInfo=1
VideoInfo=1
WinMemInfo=1
OLEInfo=1
System.ini=0
Win.ini=0
;; etc.
;; Uncomment this line to include all available modules
;AllModules=1
;; Uncomment this line to include all information modules
;InfoModules=1
;; Uncomment this line to include all benchmarking modules
;BenchmarkModules=1
;; Uncomment this line to include all listing modules
;ListModules=1
;; Uncomment this line to include all testing modules
;TestModules=1
;; That's it - good luck & good hunting!
;;
;; If you have issues or comments, please contact us.
;;